<?php

namespace app\gov\model;

use think\admin\Model;
use think\admin\model\SystemUser;


/**
 * 审批用户审批地区
 * @class UserAreaModel
 * @package app\pilot\model
 */
class UserAreaModel extends Model
{
    protected $name = 'gov_user_area';

    /**
     * 关联用户
     */
    public function systemUser(){
        return $this->belongsTo(SystemUser::class, 'gov_user_id', 'id');
    }
}
